package com.itboye.ihomebank.bean;

public class NotificationBean {
	/**
	 * "msg_id": "ul53105148006183335200", "display_type": "notification",
	 * "random_min": 0, "body": { "ticker": "智能锁消息", "title": "智能锁消息", "text":
	 * "您获得智能锁(大门锁)的一把钥匙", "play_vibrate": "true", "play_lights": "true",
	 * "play_sound": "true", "after_open": "go_activity", "activity":
	 * "lock_message" }, "extra": { "id": "339" }
	 */
	/**
	 * after_open ：打开类型(go_app=>打开应用;go_activity=>打开自定义页面) activity ：
	 * after_open=go_activity时打开的自定义页面标志 (见下方表格:activity) extra ： 自定义参数数组
	 * (见下方表格:extra) activity(打开页面描述) extra(携带变量描述) system_message(打开系统消息列表)
	 * id(消息ID),未登录时前往登陆 contract_message(打开签约列表) contract_no(合同号)
	 * lock_message(打开智能锁消息列表) id(消息ID),未登录时前往登陆
	 */
	String msg_id, display_type, random_min;
	Body body;
	Extra extra;
	public Extra getExtra() {
		return extra;
	}

	public void setExtra(Extra extra) {
		this.extra = extra;
	}

	public String getMsg_id() {
		return msg_id;
	}

	public void setMsg_id(String msg_id) {
		this.msg_id = msg_id;
	}

	public String getDisplay_type() {
		return display_type;
	}

	public void setDisplay_type(String display_type) {
		this.display_type = display_type;
	}

	public String getRandom_min() {
		return random_min;
	}

	public void setRandom_min(String random_min) {
		this.random_min = random_min;
	}

	public Body getBody() {
		return body;
	}

	public void setBody(Body body) {
		this.body = body;
	}

	public static class Body {
		String ticker, title, text, play_vibrate, play_lights, play_sound,
				after_open, activity;

		public String getTicker() {
			return ticker;
		}

		public void setTicker(String ticker) {
			this.ticker = ticker;
		}

		public String getTitle() {
			return title;
		}

		public void setTitle(String title) {
			this.title = title;
		}

		public String getText() {
			return text;
		}

		public void setText(String text) {
			this.text = text;
		}

		public String getPlay_vibrate() {
			return play_vibrate;
		}

		public void setPlay_vibrate(String play_vibrate) {
			this.play_vibrate = play_vibrate;
		}

		public String getPlay_lights() {
			return play_lights;
		}

		public void setPlay_lights(String play_lights) {
			this.play_lights = play_lights;
		}

		public String getPlay_sound() {
			return play_sound;
		}

		public void setPlay_sound(String play_sound) {
			this.play_sound = play_sound;
		}

		public String getAfter_open() {
			return after_open;
		}

		public void setAfter_open(String after_open) {
			this.after_open = after_open;
		}

		public String getActivity() {
			return activity;
		}

		public void setActivity(String activity) {
			this.activity = activity;
		}
	}

	public static class Extra {
		String id;

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}
	}
}
